package logic.game;

import geom.Shape;

/**
 * Responsible for modelling a Particle object in the {@link GameField}
 * @author Peter
 *
 */
public class Particle extends PhysicalObject {
	
	/**
	 * Represents the mass of this Particle
	 */
	double mass = 0;
	
	/**
	 * Represents the geometric shape of the Particle
	 */
	Shape shape = null;
	
	@Override
	void setObjectID(int objectID) {
		this.objectID = objectID;

	}
	
	/**
	 * Sets the mass of the Particle
	 * @param mass us the new mass of the Particle
	 */
	void setMass(double mass){
		this.mass = mass;
	}
	
	/**
	 * Returns the mass of the Particle
	 * @return the mass of the Particle
	 */
	double getMass(){
		return this.mass;
	}
	
	/**
	 * Sets the geometric {@link Shape} of the Particle
	 * @param shape is the geometric {@link Shape} of the Particle
	 */
	void setShape(Shape shape){
		this.shape = shape;
	}
	
	/**
	 * returns the geometric {@link Shape} of the Particle
	 * @return the geometric {@link Shape} of the Particle
	 */
	Shape getShape(){
		return this.shape;
	}
	
	@Override
	void collideWith(PhysicalObject physicalObject) {
		// TODO Auto-generated method stub

	}

	

}
